<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="asserts/plugins/bootstrap/css/bootstrap.css" rel="stylesheet">
    <script src="asserts/plugins/jquery-3.6.0.min.js"></script>
    <script src="asserts/plugins/bootstrap/js/bootstrap.js"></script>

</head>
<body>
<!--bootstrap实现弹出模态框-->
<button class="btn btn-default" data-target="#myModal" data-toggle="modal">
    点击弹出模态框
</button>
<!--fade 淡入淡出-->
<div class="modal fade"  id="myModal" aria-labelledby="myModallabel" aria-hidden="true" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button class="close" type="button" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h5 class="modal-title" id="myModallabel">认证信息</h5>
            </div>
            <form id="formData" class="form-horizontal">
                <div class="modal-body">
                    <div class="form-group">
                        <label class="control-label col-lg-2">用户名：</label>
                        <div class="col-lg-9">
                            <input type="text" value="" name="username" placeholder="username" class="form-control"></br>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-lg-2">密码：</label>
                        <div class="col-lg-9">
                            <input type="text" placeholder="password" value="" name="password" class="form-control">
                        </div>
                    </div>
                </div>

                <div class="modal-footer">
                    <button class="btn btn-default" type="button" data-dismiss="modal">close</button>
                    <button class="btn btn-success" type="button" onclick="">submit</button>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>